package com.zelin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author WF
 * @email 2568783935@qq.com
 * @date 2021-07-23 21:10:35
 */
@Data
@TableName("tb_order_item")
public class OrderItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 分布式id
	 */
	//@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 商品id
	 */
	private Long itemId;
	/**
	 * SPU_ID
	 */
	private Long goodsId;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 商品标题
	 */
	private String title;
	/**
	 * 商品单价
	 */
	private BigDecimal price;
	/**
	 * 商品购买数量
	 */
	private Integer num;
	/**
	 * 商品总金额
	 */
	private BigDecimal totalFee;
	/**
	 * 商品图片地址
	 */
	private String picPath;
	/**
	 * 
	 */
	private String sellerId;

}
